import axios from '@/utils/request';

export default {

    addOder(order) {
        return axios({
            url: '/Order/addOneOrder',
            method: 'post',
            data:order
        })
    },
    getOrder(uid) {
        return axios({
            url: '/Order/getorder',
            method: 'get',
            params: {
                'uid': uid
            }
        })
    },

}